name="itheima is a brand of itcast"
# for循环遍历循环
i = 0
for x in name:
    if x == "a":
        i+=1
print(f"共有{i}个a")
